import java.util.Random;

public class TestDemo03 {
    public static void main(String[] args) {
        //创建一个微信对象
//        WeChat wx = new WeChat("123456", "123456", "老王");
//        wx.publishFriendCircle("答应我，爱你呦");
//        wx.goodGood("老宋");
//        wx.chat("老宋");
//
//        WeChat wx1 = new WeChat("123456", "123456", "老李");
//        wx1.publishFriendCircle("答应我，爱你呦");
//        wx1.goodGood("老宋");
//        wx1.chat("老宋");

//        Random random = new Random();
//        random.nextInt()

        Man man = new Man("老王", 32, 1.68f, 123.2f);
        man.eat("拉面");
        man.sleep("席梦思");
        man.playGame("LOL");
        float money = man.takeMoney();
        System.out.println(money);

        man.introduce();


        Woman woman = new Woman("小花", 18, 1.65f, 100f);
        woman.eat();
        woman.buyGood();

    }
}
